<template>
  <div>
    <van-skeleton title :row="3" v-if="gjp"/>
    <router-view v-else></router-view>

  </div>
</template>

<script setup>
import { ref,watch } from 'vue';
import { useRoute } from 'vue-router';
const route=useRoute()
let gjp=ref(true)
watch(()=>route.path, (newValue, oldValue) => {
   setTimeout(()=>{
    gjp.value=false
   },500)
  
})

</script>

<style lang="scss" scoped>

</style>